package com.sts.service;

import com.sts.dto.request.LoginRequest;
import com.sts.dto.request.PasswordUpdateRequest;
import com.sts.dto.request.RegisterRequest;
import com.sts.dto.response.LoginResponse;
import com.sts.dto.response.ReTokenResp;
import com.sts.dto.response.UserRegisterResp;
import com.sts.dto.response.UserInfoResp;

public interface AuthService {
    UserRegisterResp register(RegisterRequest registerRequest);

    LoginResponse login(LoginRequest logreq);

    UserInfoResp getUserInfo(String authorization);

    ReTokenResp refresh(String reToken);

    void logout(String authorization);

    void updatePwd(String authorization, PasswordUpdateRequest req);
}
